Reconstructing a Logic for Inductive Proofs of Properties of Functional Programs
نویسندگان
چکیده
A logical framework consisting of a polymorphic call-byvalue functional language and a first-order logic on the values is presented, which is a reconstruction of the logic of the verification system VeriFun. The reconstruction uses contextual semantics to define the logical value of equations. It equates undefinedness and nontermination, which is a standard semantical approach. The main results of this paper are: Meta-theorems about the globality of several classes of theorems in the logic, and proofs of global correctness of transformations and deduction rules. The deduction rules of VeriFun are globally correct if rules depending on termination are appropriately formulated. The reconstruction also gives hints on generalizations of the VeriFun framework: reasoning on nonterminating expressions and functions, mutual recursive functions and abstractions in the data values, and formulas with arbitrary quantifier prefix could be allowed.
منابع مشابه
Inductive Theorem Proving for Design Speciications
We present a number of new results on inductive theorem proving for design speciications based on Horn logic with equality. Induction is explicit here because induction orderings are supposed to be part of the speciication. We show how the automatic support for program veriication is enhanced if the speciication satisses a bunch of rewrite properties, summarized under the notion of canonicity. ...
متن کاملProving Inductive Properties of Prolog Programs in Second-Order Intuitionistic Logic
We use second-order intuitionistic logic for two purposes in this paper: first, to formulate a large class of circumscriptive queries about logic programs; and second, to formulate a class of induction schemata that can be used to answer these queries. Then, applying the techniques of intuitionistic logic programming, we develop an interpreter (written in PROLOG) that constructs inductive proof...
متن کاملVerification of CRWL Programs with Rewriting Logic
We present a novel approach to the verification of functional-logic programs. For our verification purposes, equational reasoning is not valid due to the presence of non-deterministic and partial functions. Our approach transforms functionallogic programs into Maude theories and then uses the Rewriting Logic logical framework to verify properties of the transformed programs. We propose an induc...
متن کاملA Curry-Style Realizability Interpretation for Monotone Inductive Definitions
The logical system AF2μ, an extension of second-order predicate calculus with monotone inductive definitions, is presented. Some properties of this system are shown including that it is a good system for extracting programs from proofs by means of a realizability interpretation in the style of Krivine-Parigot, where the realizers are terms of the Curry-system of λ-calculus and the realizability...
متن کاملInductive Theorem Proving for Design Specification
We present a number of new results on inductive theorem proving for design speciications based on Horn logic with equality. Induction is explicit here because induction orderings are supposed to be part of the speciication. We show how the automatic support for program veriication is enhanced if the speciication satisses a bunch of rewrite properties, summarized under the notion of canonicity. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010